package com.usooft.metaTalent.core.platform.mapper;

import com.usooft.metaTalent.core.platform.entity.Rotation;
import com.usooft.metaTalent.core.platform.query.RotationQuery;
import com.usooft.metaTalent.core.platform.wrapper.RotationWrapper;
import java.lang.Long;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RotationMapper {
    int add(Rotation rotation);

    int update(Rotation rotation);

    Rotation get(Long id);

    List<RotationWrapper> list(RotationQuery query);

    int count(@Param("filter") RotationQuery.Filter filter);
}
